﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Interop.Word;

namespace WFL.Office.Word
{
    public class WordPageNumber
    {
        public PageNumberAlignment Alignment
        {
            get { return (PageNumberAlignment)_pageNumber.Alignment; }
            set { _pageNumber.Alignment = (WdPageNumberAlignment)value; }
        }

        public int Index
        {
            get { return _pageNumber.Index; }
        }

        private PageNumber _pageNumber;

        internal WordPageNumber(PageNumber pageNumber)
        {
            _pageNumber = pageNumber;
        }
    }
}
